package com.servicesDirectory.bo.organisation.directorate;

import java.util.List;

import com.servicesDirectory.common.exception.FunctionalException;
import com.servicesDirectory.common.exception.SystemException;
import com.servicesDirectory.common.vo.organisation.DirectorateVO;
import com.servicesDirectory.dao.organisation.directorate.DirectorateDAO;
import com.servicesDirectory.dao.organisation.directorate.DirectorateDAOImpl;

public class DirectorateBOImpl implements DirectorateBO {
	DirectorateDAO base = new DirectorateDAOImpl();
	@Override
	public boolean insert(DirectorateVO dir) throws FunctionalException,
			SystemException {
		// TODO Auto-generated method stub
		return base.insert(dir);
	}

	@Override
	public boolean update(DirectorateVO dir) throws FunctionalException,
			SystemException {
		// TODO Auto-generated method stub
		return base.update(dir);
	}

	@Override
	public List<DirectorateVO> list(String filter, boolean isInclude)
			throws FunctionalException, SystemException {
		// TODO Auto-generated method stub
		return base.list(filter, isInclude);
	}

	@Override
	public List<DirectorateVO> search(int directorateID) {
		// TODO Auto-generated method stub
		return base.search(directorateID);
	}

}
